const sync.mutexWaiterShift
8 uses
sync (current package)
mutex.go#L49: mutexWaiterShift = iota
mutex.go#L130: if !awoke && old&mutexWoken == 0 && old>>mutexWaiterShift != 0 &&
mutex.go#L145: new += 1 << mutexWaiterShift
mutex.go#L179: if old&(mutexLocked|mutexWoken) != 0 || old>>mutexWaiterShift == 0 {
mutex.go#L182: delta := int32(mutexLocked - 1<<mutexWaiterShift)
mutex.go#L183: if !starving || old>>mutexWaiterShift == 1 {
mutex.go#L240: if old>>mutexWaiterShift == 0 || old&(mutexLocked|mutexWoken|mutexStarving) != 0 {
mutex.go#L244: new = (old - 1<<mutexWaiterShift) | mutexWoken
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |